<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="{{=T.accepted_language or 'en'}}">
  <head>
    <title>{{=response.title or 'response.title'}}</title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <meta name="copyright" content="{{=response.copyright or ''}}" />
      <meta name="keywords" content="{{=response.keywords or ''}}" />
      <meta name="description" content="{{=response.description or ''}}" />
      <meta name="robots" content="index,follow" />
      {{include 'web2py_ajax.html'}}
      <link rel="stylesheet" media="screen,projection" type="text/css"
            href="{{=URL(request.application,'static','base.css')}}" />
      <link REL="shortcut icon" 
            href="{{=URL(request.application,'static','favicon.ico')}}" />

  </head>
  <body>
    <div class="wrapper">
      <div class="layout">

        {{title=response.title or 'response.title'}}
        <a href="{{=URL(request.application,'default','index')}}">
            <img src=href="{{=URL(request.application,'static','logo.png')}}"></a>

        <h3>{{=response.subtitle or 'response.subtitle'}}</h3>

        {{=MENU(response.menu_auth)}}

        <div class="flash">{{=response.flash or ''}}</div>

        {{include}}

        <div class="footer">
            {{from datetime import datetime}}
            Copyright &copy; 2009 - {{=datetime.now().year}}
            Powered by <a href="http://www.web2py.com">web2py</a>
        </div>
      </div>
    </div>
  </body>
</html>
